-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cmake): properly exclude prereleases when fetching latest tag from cmake #2550
Conversation
…m cmake. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
/milestone 0.35.0 |
Let's wait for the CI and check the values! |
--tags | ||
--max-count=1 | ||
WORKING_DIRECTORY | ||
"${CMAKE_CURRENT_SOURCE_DIR}" | ||
COMMAND tail -n1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we ever needed it since we use max-count=1
; it was probably a leftover.
(github action build-minimal)
Build-musl |
Uh it seems circleci
|
…ld for centos7 and arm64 builds. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
To fix this, i ported |
Fixed build-arm64 and build-centos7. We should be good2go! |
Arm64 is having some connection issues today; i already tried to restart it :/ |
It looks great to me! Thank you for editing that tricky cmake function! |
Still failing :/ |
🟢 finally! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Andreagit97, FedeDP, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Given that we now support prereleases, we do want to exclude them from Falco version computation.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: